fallback_matrix_operations.hpp File Reference

#include "matrix.hpp"
Include dependency graph for fallback_matrix_operations.hpp:

Go to the source code of this file.

Namespaces

namespace  gridpack
namespace  gridpack::math
namespace  gridpack::math::fallback

Functions

template<typename T , typename I >
void gridpack::math::fallback::diagonal (const MatrixT< T, I > &A, VectorT< T, I > &d)
 Get the diagonal from a Matrix and put in new Vector (fallback).
template<typename T , typename I >
MatrixT< T, I > * gridpack::math::fallback::diagonal (const VectorT< T, I > &x, const MatrixStorageType &stype=Sparse)
 Make a diagonal Matrix from a Vector.
template<typename T , typename I >
void gridpack::math::fallback::column (const MatrixT< T, I > &A, const I &cidx, VectorT< T, I > &c)
 Get a column from the Matrix and put in new Vector (fallback).
template<typename T , typename I >
void gridpack::math::fallback::multiplyDiagonal (MatrixT< T, I > &A, const VectorT< T, I > &x)
 Multiply this matrix diagonal by the specified vector (fallback).
template<typename T , typename I >
void gridpack::math::fallback::addDiagonal (MatrixT< T, I > &A, const VectorT< T, I > &x)
 Add the specified vector to the diagonal of this matrix (fallback).
template<typename T , typename I >
void gridpack::math::fallback::denseMatrixMultiply (const MatrixT< T, I > &A, const MatrixT< T, I > &B, MatrixT< T, I > &C)
template<typename T , typename I >
MatrixT< T, I > * gridpack::math::fallback::denseMatrixMultiply (const MatrixT< T, I > &A, const MatrixT< T, I > &B)

Detailed Description

Author:
William A. Perkins
Date:
2015-06-16 07:31:12 d3g096
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on 3 Feb 2020 for GridPACK by  doxygen 1.6.1